<template>
	<div style="padding: 50px;">
      <div style="margin-bottom: 20px;">签名名称:{{all.signname}}</div>
      <div style="margin-bottom: 20px;">联系人:{{all.signxingming}}</div>
      <div style="margin-bottom: 20px;">联系手机号:{{all.signmobile}}</div>
      <div style="margin-bottom: 20px;">店铺ID:{{all.shop_id}}</div>
      <div style="margin-bottom: 20px;">密码:{{all.pwd}}</div>


      <div style="margin-bottom: 20px;"><el-button type="primary" @click="tongguoma">通过</el-button></div>
	</div>
</template>

<script>
  import axios from 'axios'
	export default {

		name: "use",
		data() {
			return {
				all:{

        }
			}
		},
		created() {
      console.log(encodeURI('https://91haoka.cn/91haoka_platform/#/shenheyong?signname=Lisa测试&signxingming=111&signmobile=1234&shop_id=301655&pwd=321'))
			this.all.signname = this.$route.query.signname
      this.all.signxingming = this.$route.query.signxingming
      this.all.signmobile = this.$route.query.signmobile
      this.all.shop_id = this.$route.query.shop_id
      this.all.pwd = this.$route.query.pwd
		},
		mounted() {

		},
		methods: {
			tongguoma:function(){
        axios.get('/api/plan-market/message/addsign2', {params:this.all})
        	.then(response => {
        		if (response.data.msg.code == 0) {
this.$message.success('已审核通过，直接关闭网页吧！');
        		} else {
        			this.$message.error(response.data.msg.info);
        		}
        	})
      }
		}
	}
</script>

<style lang="scss" scoped>
	.use{}
</style>
